
<div class="modal fade " id="modal-task">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">操作任务</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" role="form" id="m-form">
                      <div class="form-group">
                        <label class="col-sm-2 control-label">任务名</label>
                        <div class="col-sm-8">
                            <input type="text" name="name" id="name" class="form-control"  />
                        </div>
                    </div>

                    <div class="form-group" style="margin-left:100px;">
                        <button type="submit" class="btn btn-default btn-modal-new" datadismiss="modal" id="btn-case-task">
                            确定</button>
                        <button type="button" class="btn btn-primary" data-dismiss="modal" aria-hidden="true">取消
                        </button>
                    </div>
                </form>
            </div>
            <div class="modal-footer">

            </div>
        </div>
    </div>
</div>